home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Updates / Librarys / MMULib / Include / mmu_lib.fd < prev   
Text File  |  1999-11-27  |  3KB  |  85 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 41.1                            --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 40.50:    Final release,    31 Oct 1999, Thomas Richter    --
  11. *-- 41.1:            28 Nov 1999, Thomas Richter    --
  12. *-----------------------------------------------------------------
  13. ##base _MMUBase
  14. ##bias 30
  15. ##public
  16. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  17. GetMapping(ctx)(a0)
  18. ReleaseMapping(ctx,list)(a0,a1)
  19. GetPageSize(ctx)(a0)
  20. GetMMUType()()
  21. ##private
  22. GetMMUConfig()()
  23. ReleaseMMUConfig(mfc)(a1)
  24. ##public
  25. LockMMUContext(ctx)(a0)
  26. UnlockMMUContext(ctx)(a0)
  27. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  28. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  29. RebuildTree(ctx)(a0)
  30. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  31. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  32. CreateMMUContextA(tags)(a0)
  33. DeleteMMUContext(ctx)(a0)
  34. ##private
  35. AllocLineMem(bytesize,reqments)(d0,d1)
  36. ##public
  37. AllocLineVec(bytesize,reqments)(d0,d1)
  38. PhysicalPageLocation(ctx,addr)(a0,a1)
  39. SuperContext(ctx)(a0)
  40. DefaultContext()()
  41. EnterMMUContext(ctx,task)(a0,a1)
  42. LeaveMMUContext(task)(a1)
  43. AddContextHookA(tags)(a0)
  44. RemContextHook(hook)(a1)
  45. AddMessageHookA(tags)(a0)
  46. RemMessageHook(hook)(a1)
  47. ActivateException(hook)(a1)
  48. DeactivateException(hook)(a1)
  49. AttemptLockMMUContext(ctx)(a0)
  50. LockContextList()()
  51. UnlockContextList()()
  52. AttemptLockContextList()()
  53. SetPropertyList(ctx,list)(a0,a1)
  54. TouchPropertyList(list)(a1)
  55. CurrentContext(task)(a1)
  56. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  57. DMATerminate(ctx)(d1)
  58. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  59. RemapSize(ctx)(a0)
  60. WithoutMMU(func)(a5)
  61. SetBusError(func,oldfuncptr)(a0,a1)
  62. GetMMUContextData(ctx,tagid)(a0,d0)
  63. SetMMUContextDataA(ctx,tags)(a0,a1)
  64. NewMapping()()
  65. CopyMapping(from,to,base,length,mask)(a0,a1,d0,d1,d2)
  66. DupMapping(list)(a0)
  67. CopyContextRegion(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  68. SetPropertiesMapping(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  69. SetMappingPropertiesA(list,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  70. GetMappingPropertiesA(list,lower,tags)(a0,a1,a2)
  71. BuildIndirect(ctx,address,props)(a0,d0,d1)
  72. SetIndirect(destination,logical,descriptor)(a0,a1,d0)
  73. GetIndirect(ctx,adt,address)(a0,a1,d0)
  74. ##private
  75. ** VMM support functions
  76. SwitchControl(oldswitch)(a0)
  77. ##public
  78. RebuildTreesA(ctxptr)(a0)
  79. ##private
  80. reserved1()()
  81. reserved2()()
  82. reserved3()()
  83. reserved4()()
  84. ##end
  85.